<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<head>
	<link href="style/global.css" rel="stylesheet" type="text/css" />
	<link href="style/style1.css" rel="stylesheet" type="text/css">
</head>

<c:if test="${empty leaveMessageList }">
	<div>
		还没有留言哦~
	</div>
</c:if>


<table height="180" width="550">

	<s:iterator value="leaveMessageList" id="message" status="st">

		<tr <s:if test="#st.odd==false">style="background-color: #fff"</s:if>
			onmouseover="onDivOver(this)" onmouseout="onDivOut(this)">
			<td colspan="3" style="border-bottom: 1px #ffffff dashed">
				<span><a href="browseUser.action?account=${author} ">
						${author}</a> </span>

				<SPAN class="spanFont"> ${leaveDate}</SPAN>

				<div>
					${message.leaveMsg}

				</div>
			</td>
		</tr>
	</s:iterator>

</table>
